package com.ruoyi.baodao.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MFGoods9999 extends MFGoods9999Key {
    @Excel(name = "商品名称")
    private String goodsname;

    private String pysz;

    private String norm;

    private String unit;

    private String mfrs;

    private String pzwh;

    private String plucode;

    private String classname;

    private String classcode;

    private String prepntype;

    private String expire;

    private String standardcode;

    private String ybcode;

    private String flag1;

    private Date madeTime;

    private Date updateTime;

    public String getGoodsZZ() {
        return goodsZZ;
    }

    public void setGoodsZZ(String goodsZZ) {
        this.goodsZZ = goodsZZ;
    }
    @Excel(name = "主治")
    private String goodsZZ;

    // 20210126 补充
    private int num1;
    private  int num2;
    private int showFlag;
    private String flag3 ; // flag3 为1 时, 从主档表数据中去除 已加入维护表数据

    public String getGoodsname() {
        return goodsname;
    }

    public void setGoodsname(String goodsname) {
        this.goodsname = goodsname;
    }

    public String getPysz() {
        return pysz;
    }

    public void setPysz(String pysz) {
        this.pysz = pysz;
    }

    public String getNorm() {
        return norm;
    }

    public void setNorm(String norm) {
        this.norm = norm;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getMfrs() {
        return mfrs;
    }

    public void setMfrs(String mfrs) {
        this.mfrs = mfrs;
    }

    public String getPzwh() {
        return pzwh;
    }

    public void setPzwh(String pzwh) {
        this.pzwh = pzwh;
    }

    public String getPlucode() {
        return plucode;
    }

    public void setPlucode(String plucode) {
        this.plucode = plucode;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public String getClasscode() {
        return classcode;
    }

    public void setClasscode(String classcode) {
        this.classcode = classcode;
    }

    public String getPrepntype() {
        return prepntype;
    }

    public void setPrepntype(String prepntype) {
        this.prepntype = prepntype;
    }

    public String getExpire() {
        return expire;
    }

    public void setExpire(String expire) {
        this.expire = expire;
    }

    public String getStandardcode() {
        return standardcode;
    }

    public void setStandardcode(String standardcode) {
        this.standardcode = standardcode;
    }

    public String getYbcode() {
        return ybcode;
    }

    public void setYbcode(String ybcode) {
        this.ybcode = ybcode;
    }

    public String getFlag1() {
        return flag1;
    }

    public void setFlag1(String flag1) {
        this.flag1 = flag1;
    }

    public Date getMadeTime() {
        return madeTime;
    }

    public void setMadeTime(Date madeTime) {
        this.madeTime = madeTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    // 补充价格
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal price;

    public String getMcName() {
        return mcName;
    }

    public void setMcName(String mcName) {
        this.mcName = mcName;
    }

    // 补充 商品分类 明细
    private String mcName;

}